/*
 * Copyright (c) 2019-2029, ZeusOS Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author            Notes
 * 2021-03-23     longmain       first version
 * 2021-09-01     longmain       Add macro definition
 */

#ifndef __ZOS_CONFIG_H__
#define __ZOS_CONFIG_H__

#include "zos_def.h"


/**************************** ZeusOS系统相关demo示例 ****************************/

#define BOARD_USING_TASK_DEMO   //打开task 任务示例demo
#define BOARD_USING_TIMER_DEMO  //打开timer 定时器示例demo
#define BOARD_USING_MUTEX_DEMO  //打开mutex 互斥量示例demo
#define BOARD_USING_MQ_DEMO     //打开mq 消息队列示例demo
#define BOARD_USING_SLEEP   //打开休眠唤醒 示例demo


/**************************** 硬件驱动相关demo示例 ****************************/

#define BOARD_USING_GPIO_DEMO       //打开gpio 示例demo
#define BOARD_USING_FLASH_DEMO      //打开片上flash 示例demo
#define BOARD_USING_UART_DEMO       //打开uart 示例demo
#define BOARD_USING_ADC_DEMO        //打开adc 示例demo
//#define BOARD_USING_I2C_DEMO        //打开i2c 示例demo
//#define BOARD_USING_I2C_OLED     //打开i2c oled 示例demo
#define BOARD_USING_I2C_SHT3X    //打开i2c sht30示例demo
//#define BOARD_USING_MPU6XXX
// #define BOARD_USING_MPU6XXX_MAG

#define BOARD_USING_SPI_LCD       //打开spi lcd 示例demo
#define BOARD_USING_LCD_ST7735    //打开spi lcd  ST7735 示例demo
//#define BOARD_USING_LCD_ILI9341   //打开spi lcd  ILI9341 示例demo
//#define BOARD_USING_SPI_FLASH     //打开spi flash 示例demo



/**************************** 云平台相关demo示例 ****************************/

#define BOARD_USING_CTIOT_DEMO      //打开电信AEP(ctwing) 示例demo
#define BOARD_USING_CMIOT_DEMO      //打开移动onenet 示例demo
#define BOARD_USING_DEMO_TCP     //打开socket tcp 示例demo
#define BOARD_USING_DEMO_UDP     //打开socket tcp 示例demo
#define BOARD_USING_HTTP_FOTA_DEMO  //打开http fota 示例demo
#define BOARD_USING_CMIOT


zos_err_t network_init(void); //检测网络是否连接成功,成功返回:ZOS_EOK,失败返回:ZOS_ERROR

#endif
